﻿toggle = function (fsid)
{
    var div = $id("div_" + fsid);
        
    var display = "";
    
    if( div.style.display != "none" )
    {
        display = "none";
    }
    
    div.style.display = display;
    
}
ShowAll = function()
{
//    $id("lovh_CC.CARID").value = "";
//    $id("lov_CC.CARID").value = "";
//    $id("CC.START").value = "";
//    $id("CC.END").value = "";
//    dgCCSum_c.PerformCallback("ALL");
    $id("lovh_CC.CARID").value = "";
    var START = $id("CC.START").value;
    var END = $id("CC.END").value;
    dgCCSum_c.PerformCallback("ALL"+DELIMITER+""+DELIMITER+START+DELIMITER+END);
}
Filter = function()
{
    var CARID = $id("lovh_CC.CARID").value;
    var START = $id("CC.START").value;
    var END = $id("CC.END").value;
    dgCCSum_c.PerformCallback("FILTER"+DELIMITER+CARID+DELIMITER+START+DELIMITER+END);
}
dgCCSum_c_CallbackComplete = function(e)
{
    
}
SelectCAR = function()
{
    //do nothing
}